package cn.lyz.authority.system.service;

import cn.lyz.authority.system.dto.LoginUserDTO;

import javax.servlet.http.HttpServletRequest;

public interface ISysLoginService {
    /**
     * 登录
     * @param user 登录信息
     * @return token
     */
    String login(LoginUserDTO user);

    /**
     * 登出
     */
    void logout(HttpServletRequest request);
}
